define(['common/js/service/boss-common-service-0.1'],
    function() {
        /**
         * Created by zhaoshen on 2015/1/31.
         */
        serviceModule.factory("MplusUtil", function (MaiDialog) {
            return {
                isHidden: function isHidden(el) {
                    return $(el).is(':hidden');
                },

                showModalDialog: function(modalId){
                    $('#'+modalId).modal('show');
                },
                closeModalDialog: function(modalId){
                    $('#'+modalId).modal('hide');
                }
            }
        })
    });